import {Tabs} from 'antd';
import React from 'react';
import {PageContainer} from '@ant-design/pro-layout';
import CommentList from "@/components/CommentList";


const CircleCommentList: React.FC<any> = (props) => {

  return (
    <PageContainer>
      <Tabs destroyInactiveTabPane={true}>
        <Tabs.TabPane forceRender tab='圈子评论' key="first">
          <CommentList type='DYNAMIC' level={1} { ...props } title='动态名称'/>
        </Tabs.TabPane>
        {/*<Tabs.TabPane forceRender tab='评论回复' key="second">
          <CommentList type='ARTICLE' level={2}/>
        </Tabs.TabPane>*/}
      </Tabs>
    </PageContainer>
  );

};

export default CircleCommentList;
